# -*- coding: iso-8859-1 -*-
"""MoinMoin Desktop Edition (MMDE) - Configuration

ONLY to be used for MMDE - if you run a personal wiki on your notebook or PC.

This is NOT intended for internet or server or multiuser use due to relaxed security settings!
"""
import sys, os
from MoinMoin.config.multiconfig import DefaultConfig

class Config(DefaultConfig):
    # vvv DON'T TOUCH THIS EXCEPT IF YOU KNOW WHAT YOU DO vvv
    moinmoin_dir = os.path.abspath(os.path.normpath(os.path.dirname(sys.argv[0])))
    data_dir = os.path.join(moinmoin_dir, 'wiki', 'data')
    data_underlay_dir = os.path.join(moinmoin_dir, 'wiki', 'underlay')

    DesktopEdition = True # give all local users full powers
    acl_rights_default = u"All:read,write,delete,revert,admin"
    surge_action_limits = None # no surge protection
    sitename = u'MoinMoin DesktopEdition'
    page_front_page = u'FrontPage' # change to some better value
    # ^^^ DON'T TOUCH THIS EXCEPT IF YOU KNOW WHAT YOU DO ^^^
    
    # Add your configuration items here.
    logo_string = u'<img src="%s" alt="Python Logo">' % \
                                u'http://www.python.org/images/python-logo.gif'
    logo_link = u'http://python.org'
    theme_default = 'crunchy'
    # Set this parameter to make the crunchy theme look like the one of
    # http://wiki.python.org/moin/
    be_wiki_python = True
    
    navi_bar = [
        u'FrontPage',
        u'TitleIndex',
        u'RecentChanges',
        u'FindPage',
        u'HelpContents',
        u'SiteNavigation',
    ]
